package com.itcam.kuangstudy.designmodule_.factory.simple;

/**
 * Author:Cammy.Wu
 * Date:2024-05-14
 * Description:
 */

public class Cosumer {
    public static void main(String[] args) {
        // 接口，所有实现类！工厂
        Car wuLing = new WuLing();
        Car tesla = new Tesla();

        wuLing.name();
        tesla.name();


    }
}
